﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="topic_add02.aspx.cs" Inherits="WebSite.admin.shop.topic_add02" %>
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>上海万礼通网络科技后台管理系统</title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        parent.maintitle.innerHTML = "促销管理";
        parent.contentmain.innerHTML = "<span class='title01'>所在位置：</span>添加促销专题。&nbsp;&nbsp;<img src='images/sort_desc.gif' /> <a href='shop/topics.aspx' target='content'><font color=#ff0000>促销专题管理</font></a>"
    </script>
    <script language='javascript'>
	var path=(window.top.location).toString();
	if(path.indexOf('login.aspx')==-1){
	if (path.indexOf('index.aspx')==-1){
	 window.top.location='index.aspx';
	}
	}
	function clicka()
	{
	<% if (Request.QueryString["tid"] != null){}else{%>
	alert("-请输入专题名称！\n-请选择专题开始时间！\n-请选择专题结束时间！");
	return false;
	<%} %>
	}
	</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
  <%if(Request.QueryString["tid"]!=null){ %>
  <table width="90%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr align="center">
      <td bgcolor="#E2E7EB"><a href="topics_add.aspx?tid=<%=Request.QueryString["tid"] %>">通用信息</a></td>
      <td bgcolor="#C9D2DA"><a href="topic_add02.aspx?tid=<%=Request.QueryString["tid"] %>" class="menu02">促销专题商品</a></td>
      <td bgcolor="#E2E7EB"><a href="topic_add03.aspx?tid=<%=Request.QueryString["tid"] %>">促销专题介绍</a></td>
    </tr>
  </table>
  <%}else{ %>
  <table width="90%" border="1" cellpadding="3" cellspacing="1" bordercolor="#E2E7EB">
    <tr align="center">
      <td bgcolor="#E2E7EB"><a href="topics_add.aspx">通用信息</a></td>
      <td bgcolor="#C9D2DA"><a href="topic_add02.aspx" class="menu02">促销专题商品</a></td>
      <td bgcolor="#E2E7EB"><a href="topic_add03.aspx">促销专题介绍</a></td>
    </tr>
  </table>
  <%} %>
  <br />
    <table width="90%" border="0" cellpadding="5" cellspacing="0">
        <tr>
          <td colspan="3"><img src="../images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
          <asp:DropDownList ID="typeid" runat="server">
             <asp:ListItem Text="所有类别" Value="0"></asp:ListItem>
          </asp:DropDownList>
          <asp:DropDownList ID="propinpai" runat="server">
            <asp:ListItem Value="0">所有品牌</asp:ListItem>
          </asp:DropDownList>
          <input name="keyname" id="keyname" runat="server" />
        <asp:ImageButton ID="ImageButton2" ImageUrl="../images/button04.gif" runat="server" OnClick="ImageButton2_Click" /></td>
        </tr>
        <!-- 商品列表 -->
        <tr height="37">
          <th>可选商品</th>
          <th>操作</th>
          <th>已选商品</th>
        </tr>
        <tr>
      <td><asp:ListBox ID="lbLeft" runat="server" SelectionMode="Multiple" Width="300px" Height="260px"> </asp:ListBox>
      </td>
      <td align="center"><p>
        <asp:Button ID="btnToAllRight" runat="server" Text=" &gt;&gt; "  OnClick="btnToAllRight_Click" />
         </p>
          <p>
            <asp:Button ID="btnToRight" runat="server" Text="  &gt;  "  OnClick="btnToRight_Click" />
          </p>
          <p>
            <asp:Button ID="btnToLeft" runat="server" Text="  &lt;  " OnClick="btnToLeft_Click" />
          </p>
          <p>
            <asp:Button ID="btnToAllLeft" runat="server" Text=" &lt;&lt; " OnClick="btnToAllLeft_Click" />
          </p></td>
      <td><asp:ListBox ID="lbRight" runat="server" SelectionMode="Multiple" Width="280px" Height="260px"></asp:ListBox></td>
    </tr>
  </table>
  <table width="90%" border="0" cellpadding="5" cellspacing="0">
  <tr>
      <td height="50" align="center"><asp:ImageButton ID="ImageButton1" ImageUrl="../images/buttom-02.gif" runat="server" OnClick="ImageButton1_Click" />
       <a href="javascript:form1.reset();"><img src="../images/button03.gif" border="0" /></a></td>
      </tr>
   </table>
  </td>
</tr>
</table>
      
    </div>
    </form>
</body>
</html